<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    <div class="header"></div>
    这是其他页面
</body>
<script src="../jquery.js"></script>
<script>
    $(".header").load("./public/header.html");
</script>
</html>